height=list(map(int,input().split()))
s=0
cnt=0
for i in height:
    s+=i
    cnt+=1
average=s/cnt
for i in height:
    if i>average:
        print(i,end=' ')